UCF STIG Viewer Logo

The system must be checked weekly for unauthorized setgid files as well as unauthorized modification to authorized setgid files.


Overview

Finding ID Version Rule ID IA Controls Severity
V-804 GEN002460 SV-63589r2_rule DCSL-1 Medium
Description
Files with the setgid bit set will allow anyone running these files to be temporarily assigned the group id of the file. While many system files depend on these attributes for proper operation, security problems can result if setgid is assigned to programs allowing reading and writing of files, or shell escapes.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-03-26

Details

Check Text ( C-52239r2_chk )
Ask the SA if a weekly automated or manual process is used to generate a list of setgid files on the system and compare it with the prior list.

If no such process is in place, this is a finding.

If a file integrity tool is configured to monitor setgid files weekly, this is not a finding.

NOTE: For MAC I systems, increase the frequency to daily.
Fix Text (F-54193r2_fix)
Establish a weekly automated or manual process to generate a list of setgid files on the system and compare it with the prior list.

To create a list of setgid files:

# find / -perm -2000 > setgid-file-list

NOTE: For MAC I systems, increase the frequency to daily.